package com.awccis.driver.model;

import com.awccis.driver.model.car.CarInfo;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * @Author: 纯牛奶丶
 * @Date: 2018-03-30 0030 下午 07:35
 * @Since: REDMI.txt.0
 * @Decription:
 **/
@Component
@Qualifier("combineBean")
public class CombineBean {
    private DriverInfo driverInfo;
    private CarInfo carInfo;

    public CombineBean() {
    }

    public CombineBean(DriverInfo driverInfo, CarInfo carInfo) {
        this.driverInfo = driverInfo;
        this.carInfo = carInfo;
    }

    public DriverInfo getDriverInfo() {
        return driverInfo;
    }

    public void setDriverInfo(DriverInfo driverInfo) {
        this.driverInfo = driverInfo;
    }

    public CarInfo getCarInfo() {
        return carInfo;
    }

    public void setCarInfo(CarInfo carInfo) {
        this.carInfo = carInfo;
    }

    @Override
    public String toString() {
        return "CombineBean{" +
                "driverInfo=" + driverInfo +
                ", carInfo=" + carInfo +
                '}';
    }
}
